﻿//-----------------------------------------------------------------------
// <copyright>
// This file is subject to the terms and conditions of the Microsoft Public License (MS-PL).
// See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL for more details.
// </copyright>
//----------------------------------------------------------------------- 
using System;

namespace Fulcrum
{
    [AttributeUsage(AttributeTargets.Property)]
    public class SettingAttribute : Attribute
    {
        public SettingAttribute()
        {
            // nothing
        }

        public SettingAttribute(string settingName)
        {
            this.Name = settingName;
        }

        public string Name
        {
            get;
            private set;
        }

        public string Description
        {
            get;
            set;
        }

        public bool Optional
        {
            get;
            set;
        }
    }
}
